package com.ruoyi.dish.mapper;


import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.dish.domain.DishMenu;
import com.ruoyi.dish.domain.vo.MenuSearchVo;
import com.ruoyi.dish.domain.vo.MenuVo;

import java.util.List;

public interface DishMenuMapper {

    @DataSource(DataSourceType.DISH)
    void insertMenu(DishMenu dishMenu);

    @DataSource(DataSourceType.DISH)
    DishMenu selectMenuById(String menuId);

    @DataSource(DataSourceType.DISH)
    List<DishMenu> selectMenuList();

    @DataSource(DataSourceType.DISH)
    List<DishMenu> searchMenu(MenuSearchVo menuSearchVo);
}
